//#define GLEW_STATIC
//#include "glew.h"
#include <math.h>

#include "WiimoteConnector.h"
#include "DrawFunctions.h"
#include "GLUI.h"

#include <GL/glut.h>
#include <GL/glui.h>


struct XYZ {
	float x;
	float y;
	float z;
};

void init(void);
void toggle_action(void);
void initialize_live_variables(void);
void reset_live_variables(void);
GLuint pick_object(int x, int y);
void CreateSphere(XYZ c, double r, int n);
void draw_cone(float radius, float height, int num_points);
void draw_room(bool picking, bool prevent_culling);
void render_to_env_map();
void myGlutReshape(int	x, int y);
void SetupSubwindow();
void endFullScreen();
void beginFullScreen();
void toggleFullScreen();